/**
 * 
 */
package com.ims.stocks.bo;

import com.ims.common.utils.propertyManager;
import com.ims.stocks.model.Address;
import com.ims.stocks.model.Employee;

/**
 * @author Achal B.I
 *
 */
public class EmployeeBO extends Employee {
	/**
	 * 
	 */
	private static final long serialVersionUID = -5143642898727018812L;
	private Employee employee;
	private Address address;
	private String shiftStr;
	private String genderStr;
	private String statusStr;
	private String managerIdStr;
	private final String GENDER = "common.person.gender";
	private final String STATUS = "common.user.status";
	private final String SHIFT = "common.employee.shift";
	
	

	public EmployeeBO(Employee employee, Address address, String shiftStr,
			String genderStr, String statusStr, String managerIdStr) {
		super();
		this.managerIdStr = managerIdStr; 
		this.employee = employee;
		this.address = address;
		this.shiftStr = propertyManager.getInstance().getValueFromProp(SHIFT,shiftStr);
		this.genderStr = propertyManager.getInstance().getValueFromProp(GENDER,genderStr);
		this.statusStr = propertyManager.getInstance().getValueFromProp(STATUS,statusStr );
	}
	/**
	 * @return the statusStr
	 */
	public String getStatusStr() {
		return statusStr;
	}
	/**
	 * @param statusStr the statusStr to set
	 */
	public void setStatusStr(String statusStr) {
		this.statusStr = statusStr;
	}
	/**
	 * @return the employee
	 */
	public Employee getEmployee() {
		return employee;
	}
	/**
	 * @param employee the employee to set
	 */
	public void setEmployee(Employee employee) {
		this.employee = employee;
	}
	/**
	 * @return the shiftStr
	 */
	public String getShiftStr() {
		return shiftStr;
	}
	/**
	 * @param shiftStr the shiftStr to set
	 */
	public void setShiftStr(String shiftStr) {
		this.shiftStr = shiftStr;
	}
	/**
	 * @return the genderStr
	 */
	public String getGenderStr() {
		return genderStr;
	}
	/**
	 * @param genderStr the genderStr to set
	 */
	public void setGenderStr(String genderStr) {
		this.genderStr = genderStr;
	}
	/**
	 * @return the address
	 */
	public Address getAddress() {
		return address;
	}
	/**
	 * @param address the address to set
	 */
	public void setAddress(Address address) {
		this.address = address;
	}

	/**
	 * @return the managerIdStr
	 */
	public String getManagerIdStr() {
		return managerIdStr;
	}
	/**
	 * @param managerIdStr the managerIdStr to set
	 */
	public void setManagerIdStr(String managerIdStr) {
		this.managerIdStr = managerIdStr;
	}

	
}
